{% extends "base.html" %} {% block title %}Payout Requests - Quick Care Connect{% endblock %} {% block content %}
| ID | Doctor | Amount (PKR) | Method | Destination | Balance | Requested | Status | Action |
|---|---|---|---|---|---|---|---|---|
| {{ p.id }} | {{ p.doctor.user.name if p.doctor and p.doctor.user else '-' }} | {{ "%.2f"|format(p.amount) }} | {{ (p.payout_method or 'legacy')|replace('_', ' ')|title }} |
{% if p.payout_method == 'bank_transfer' %}
{{ p.provider_name or '-' }}
A/C: {{ p.account_number or '-' }}
{% if p.iban %}
IBAN: {{ p.iban }}
{% endif %}
{% elif p.payout_method == 'mobile_wallet' %}
{{ p.provider_name or '-' }}
Wallet: {{ p.account_number or '-' }}
{% elif p.payout_method == 'visa_card' %}
Visa
Card: ****{{ p.visa_card_last4 or '-' }}
ID: {{ p.visa_recipient_id or '-' }}
{% else %}
-
{% endif %}
|
{{ "%.2f"|format(p.doctor.balance) if p.doctor else '-' }} | {{ p.requested_at.strftime('%d %b %Y %H:%M') if p.requested_at else '-' }} | {{ p.status }} | {% if p.status == 'pending' %} {% else %} - {% endif %} |